ComponentOne Bitmap for WPF
Write(Byte[],Int32,Int32) Method

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > DataStream Class > Write Method : Write(Byte[],Int32,Int32) Method
An array of bytes. This method copies count bytes from buffer to the current stream.
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
The number of bytes to be written to the current stream.
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
Syntax
'Declaration
 
Public Overloads Overrides Sub Write( _
   ByVal buffer() As System.Byte, _
   ByVal offset As System.Integer, _
   ByVal count As System.Integer _
) 
public override void Write( 
   System.byte[] buffer,
   System.int offset,
   System.int count
)

Parameters

buffer
An array of bytes. This method copies count bytes from buffer to the current stream.
offset
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count
The number of bytes to be written to the current stream.
Exceptions
ExceptionDescription
This stream does not support writing.
Remarks
In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
See Also

Reference

DataStream Class
DataStream Members
Overload List